<div class="h8"></div>
<!-- 通栏-->
<div class="detailContent-title">
    <?php if(isset($this->breadcrumbs)):?>
        <?php $this->widget('zii.widgets.CBreadcrumbs', array(
        'htmlOptions'=>array('class'=>'local'),
        'separator'=>'&nbsp;&gt;&nbsp;',
        'links'=>array(
            $current->parent->name=>$this->createUrl('cate/list',array('pid'=>$current->pid)),
            $current->name=>$this->createUrl('cate/list',array('pid'=>$current->pid, 'cid'=>$current->cid))
        ),
        'homeLink'=>'当前位置：首页',
        'tagName'=>'span',
    )); ?><!-- breadcrumbs -->
    <?php endif?>
</div>

<div class="tonglan zpdetail black">
    <h3><?php echo $data->title;?></comment><span><?php echo $company->p->nickname;?></span></h3>
    <div class="content">
        <h5>工作地点：<span><?php echo $data->place;?></span></h5>
        <h5>发布日期：<span><?php echo $data->createtime;?></span></h5>
        <h5>招聘人数：<span><?php echo $data->number;?>人</span></h5>
        <h5>工作性质：<span><?php echo $data->type==1? '全职': '兼职';?></span></h5>
        <h5>薪资范围：<span><?php echo $data->pay;?></span></h5>
        <div class="miaos">
            <h6>职位要求：</h6>
            <div class="mx dets">
                <?php echo nl2br_ext($data->require);?>
            </div>
        </div>
        <div class="miaos">
            <h6>职责描述：</h6>
            <div class="mx dets">
                <?php echo nl2br_ext($data->desc);?>
            </div>
        </div>
        <div class="miaos">
            <h5>联系方式：</h5>
            <div class="mx dets"><?php echo nl2br_ext($data->contact);?></div>
        </div>

        <div class="miaos">
            <h5>其它说明：</h5>
            <div class="mx dets"><?php echo nl2br_ext($data->other);?></div>
        </div>

        <form method="post" id="apply_form" id="job-form">
            <?php if(isset($apply->jid) && $apply->jid==$data->jid){ ?>
            <span id="button" onclick="javascript:alert('请不要重复申请');" style="color: red;">职位已经申请</span>
            <?php }else{ ?>
            <input id="button" type="submit" value="申请该职位" name="apply">
            <?php } ?>
        </form>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>

<div class="h8"></div>